package com.wz.project.cxtj.viewstockdetail.domain;

import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 库存明细对象 View_stock_detailed
 * 
 * @author wz
 * @date 2022-05-18
 */
public class ViewStockDetailed extends BaseEntity
{
    private static final long serialVersionUID = 1L;
/**/
    /** 库存编号 */
    @Excel(name = "库存编号")
    private String stockId;

    /** 货位编号 */
    @Excel(name = "货位编号")
    private String cargoSpaceId;

    /** 货位名称 */
    @Excel(name = "货位名称")
    private String cargoSpaceName;

    /** 托盘条码 */
    @Excel(name = "托盘条码")
    private String trayCode;

    /** 批号 */
    @Excel(name = "批号")
    private String lotNo;

    /** 入库时间 */
    @Excel(name = "入库时间")
    private String inDate;

    /** 物资编号 */
    @Excel(name = "物资编号")
    private String productId;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String productName;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private String inType;

    /** 作业编号 */
    @Excel(name = "作业编号")
    private String jobId;

    /** 仓库 */
    @Excel(name = "仓库")
    private String warehouseId;

    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setCargoSpaceId(String cargoSpaceId)
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId()
    {
        return cargoSpaceId;
    }
    public void setCargoSpaceName(String cargoSpaceName)
    {
        this.cargoSpaceName = cargoSpaceName;
    }

    public String getCargoSpaceName()
    {
        return cargoSpaceName;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }

    public String getLotNo()
    {
        return lotNo;
    }
    public void setInDate(String inDate)
    {
        this.inDate = inDate;
    }

    public String getInDate()
    {
        return inDate;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setInType(String inType)
    {
        this.inType = inType;
    }

    public String getInType()
    {
        return inType;
    }
    public void setJobId(String jobId)
    {
        this.jobId = jobId;
    }

    public String getJobId()
    {
        return jobId;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stockId", getStockId())
            .append("cargoSpaceId", getCargoSpaceId())
            .append("cargoSpaceName", getCargoSpaceName())
            .append("trayCode", getTrayCode())
            .append("lotNo", getLotNo())
            .append("inDate", getInDate())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("quantity", getQuantity())
            .append("inType", getInType())
            .append("jobId", getJobId())
            .append("warehouseId", getWarehouseId())
            .toString();
    }
}
